var token = sessionStorage.getItem("token");
var appid = sessionStorage.getItem("appid");
var username = sessionStorage.getItem("username");
var vue = new Vue({
	el: "body",
	data: {
		coll_list: [],
		comm: "",
		isloading: true
	},
	created: function() {
		this.getList();
	},
	methods: {
		getList: function() {
			$.ajax({
				type: 'get',
				url: 'http://v2.mashupcloud.cn/SQL/get_callto/',
				data: {
					appid: appid,
					token: token,
					name: 'get_callto',
					_v1: username, //变量1  _v3,_v4 ......
				},
				success: function(json) {
					console.log("json==" + json);
					vue.coll_list = JSON.parse(json)[2];
					vue.isloading = false;
					console.log(vue.coll_list);
				},
				error: function(json) {
					console.log("err:" + json);
				}
			});
		},
		
	}
});